package com.suep.data_analysis.mapper;
import com.suep.data_analysis.dto.AgentDto;
import com.suep.data_analysis.model.Agent;
import org.mapstruct.Mapper;
import java.util.Collection;

@Mapper
public interface AgentMapper {
    // Agent → AgentDto
    AgentDto toAgentDto(Agent agent);

    // 批量转换 Agent
    Collection<AgentDto> toAgentDto(Collection<Agent> agents);
}